x11: Handle all XI2 crossing mode values in switch
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 4 Dec 2013 11:34:31 +0000 (12:34 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 5 Dec 2013 02:22:23 +0000 (21:22 -0500)
commit3dbabbd2e5340857d0223f0529d4feb1bbacd3fd
treeff5df33e883f578261a646f82abe67e96c557058
parent96d2eeb6baff70363e1a4510f197d32da7f2df6e
x11: Handle all XI2 crossing mode values in switch

This fixes potential assertions if a GTK+ app gets to receive
a XINotifyPassiveGrab/Ungrab pointer crossing event, currently
triggerable by XIGrabEnter passive grabs.

http://bugzilla.gnome.org/show_bug.cgi?id=719762
gdk/x11/gdkdevicemanager-xi2.c